import 'package:flutter_axrjc/datasource/network/bean/TaskBean.dart';
import 'package:flutter_axrjc/datasource/network/request/network_service.dart';

class TaskApi {
  static Future<List<TaskBean>> getList() async {
    var res = await NetworkService.post(
        url: 'app/platTask.do', map: {}, showLoading: false);
    return res.getTypedList<TaskBean>((map) => TaskBean.fromJson(map)) ?? [];
  }
}
